Package com.cisco.pt.ipc.sim.pdu.impl
Class VTPVlanInfoImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.VTPVlanInfoImpl
- All Implemented Interfaces:
IPCData,Pdu,Signal,VTPVlanInfo
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidvoidsetVlanName(String vlanName) voidsetVlanType(Byte vlanType) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
status
-
vlanType
-
vlanId
-
vlanName
-
-
Constructor Details
-
VTPVlanInfoImpl
public VTPVlanInfoImpl()
-
-
Method Details
-
getStatus
- Specified by:
getStatusin interfaceVTPVlanInfo- Returns:
- Byte Returns a Byte
-
setStatus
- Specified by:
setStatusin interfaceVTPVlanInfo- Parameters:
status- Takes in a parameter of status
-
getVlanType
- Specified by:
getVlanTypein interfaceVTPVlanInfo- Returns:
- Byte Returns a Byte
-
setVlanType
- Specified by:
setVlanTypein interfaceVTPVlanInfo- Parameters:
vlanType- Takes in a parameter of vlanType
-
getVlanId
- Specified by:
getVlanIdin interfaceVTPVlanInfo- Returns:
- Short Returns a Short
-
setVlanId
- Specified by:
setVlanIdin interfaceVTPVlanInfo- Parameters:
vlanId- Takes in a parameter of vlanId
-
getVlanName
- Specified by:
getVlanNamein interfaceVTPVlanInfo- Returns:
- String Returns a String
-
setVlanName
- Specified by:
setVlanNamein interfaceVTPVlanInfo- Parameters:
vlanName- Takes in a parameter of vlanName
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-